package com.ruoyi.record.service;

import java.util.List;
import com.ruoyi.record.domain.FirefighterRecord;

/**
 * 个人履历Service接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface IFirefighterRecordService
{
    /**
     * 查询个人履历
     *
     * @param id 个人履历主键
     * @return 个人履历
     */
    public FirefighterRecord selectFirefighterRecordById(Long id);

    /**
     * 查询个人履历列表
     *
     * @param firefighterRecord 个人履历
     * @return 个人履历集合
     */
    public List<FirefighterRecord> selectFirefighterRecordList(FirefighterRecord firefighterRecord);

    /**
     * 新增个人履历
     *
     * @param firefighterRecord 个人履历
     * @return 结果
     */
    public int insertFirefighterRecord(FirefighterRecord firefighterRecord);

    /**
     * 修改个人履历
     *
     * @param firefighterRecord 个人履历
     * @return 结果
     */
    public int updateFirefighterRecord(FirefighterRecord firefighterRecord);

    /**
     * 批量删除个人履历
     *
     * @param ids 需要删除的个人履历主键集合
     * @return 结果
     */
    public int deleteFirefighterRecordByIds(Long[] ids);

    /**
     * 删除个人履历信息
     *
     * @param id 个人履历主键
     * @return 结果
     */
    public int deleteFirefighterRecordById(Long id);

    void deleteFirefighterRecordById1(Long userId);
}
